import { createRouter, createWebHistory } from 'vue-router'
const HomePage = () => import('../views/HomePage/Index.vue')
const SearchPage = () => import('../views/SearchPage/Index.vue')

const router = createRouter({
  history: createWebHistory(),
  routes: [
    { path: '/', component: HomePage, name: 'HomePage' },
    { path: '/search', component: SearchPage, name: 'SearchPage' },
  ],
})

export default router;